Automattic\Jetpack\Jetpack_Lazy_Images A

Total Complexity 62
Dependencies 3
Dependents 1
Total lines 628
Lines of code 261
Logical lines of code 125
Comment lines 297
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
process_image_attributes()
A
47 11 36
has_image_been_processed()
S
55 7 19
should_skip_image_with_blocked_class()
S
58 5 16
process_image()
S
56 4 18
__construct()
S
56 4 17
should_force_deactivate()
S
60 4 14
setup_filters()
S
60 3 14
build_attributes_string()
S
62 3 11
instance()
S
65 3 10
add_image_placeholders()
S
68 3 7
allow_lazy_attributes()
S
60 2 15
enqueue_assets()
S
53 1 29
is_amp_request()
S
74 2 4
add_nojs_fallback()
S
72 1 15
flatten_kses_hair_data()
S
68 2 7
maybe_skip_core_loading_attribute()
S
71 2 6
disable()
S
71 2 6
is_enabled()
S
79 1 3
get_placeholder_image()
S
72 1 6
remove_filters()
S
66 1 8